package dcc.mbg.dao;

import dcc.mbg.model.MStory;
import dcc.mbg.model.MStoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MStoryMapper {
    int countByExample(MStoryExample example);

    int deleteByExample(MStoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MStory record);

    int insertSelective(MStory record);

    List<MStory> selectByExample(MStoryExample example);

    MStory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MStory record, @Param("example") MStoryExample example);

    int updateByExample(@Param("record") MStory record, @Param("example") MStoryExample example);

    int updateByPrimaryKeySelective(MStory record);

    int updateByPrimaryKey(MStory record);
}